public class Example06 {
    public static void main(String[] args) {
        int x =0;
        int y =0;
        int z =0;
        boolean a,b;
        a = x > 0& y++ >1;
        System.out.println(a);
        System.out.println("y = " + y);// g=1 證明y++執行了
        b = x > 0 && z++ >1;
        System.out.println(b);
        System.out.println("z = " + z); // z=0 證明z++沒執行
    }
}
